From: robertl Date: Mon, 19 Jul 2010 21:40:49 +0000 (+0000) Subject: Use explicit ascii version of movefile for build envs that default to windows X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2~16^2~28 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=42f7d04479d8567802cb1548c0a3bc4fb45b3a9e;p=gpsbabel.git Use explicit ascii version of movefile for build envs that default to windows bloaty strings. --- diff --git a/kml.c b/kml.c index 1ce8ff514..63ed99216 100644 --- a/kml.c +++ b/kml.c @@ -347,7 +347,7 @@ kml_wr_deinit(void) if (posnfilenametmp) { #if __WIN32__ - MoveFileEx(posnfilenametmp, posnfilename, + MoveFileExA(posnfilenametmp, posnfilename, MOVEFILE_REPLACE_EXISTING); #endif rename(posnfilenametmp, posnfilename);